projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
450832a
)
(errstatus): Chmod a+rx directories we create.
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 2 Feb 2001 13:09:26 +0000
(13:09 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 2 Feb 2001 13:09:26 +0000
(13:09 +0000)
mkinstalldirs
patch
|
blob
|
history
diff --git
a/mkinstalldirs
b/mkinstalldirs
index 319086a3a469079ab01561cd5ca2b35137cf69b2..ef5a91716a6c85268fca978dba2cfe17996504b2 100755
(executable)
--- a/
mkinstalldirs
+++ b/
mkinstalldirs
@@
-4,7
+4,7
@@
# Created: 1993-05-16
# Public domain
-# $Id: mkinstalldirs,v 1.1
1 1998/05/19 07:05:25 drepper dead
$
+# $Id: mkinstalldirs,v 1.1
2001/02/02 13:04:53 gerd Exp
$
errstatus=0
@@
-24,7
+24,7
@@
do
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp" 1>&2
-
mkdir "$pathcomp"
|| lasterr=$?
+
(mkdir "$pathcomp" && chmod a+rx "$pathcomp")
|| lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr